<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <script>
    let img = new Image();
    img.src = 'https://cdn-didano.oss-cn-shenzhen.aliyuncs.com/iiSMnF8GBfhQsjQY4RY7AsXN3r32aMAf.mp4';

    img.onload = () => {
      console.log('onload')
    }
    img.onerror = () => {
      console.log('onerror')
    }
  </script>
</body>
</html>